package com.pine.dbant.core.model.dto;

import lombok.Getter;
import lombok.Setter;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * @author xiaoyuan
 * @create 2022/11/30 10:55
 **/
@Setter
@Getter
public class ExecuteScriptDTO {

    @NotNull(message = "连接id不能为空")
    private Long connId;

    private String catalog;

    private String schema;
    @NotNull(message = "脚本参数不能为空")
    @Valid
    private ExecuteParamsDTO executeParams;
}
